#include "warnlabel.h"

WarnLabel::WarnLabel(QWidget *parent) : QWidget(parent)
{
  chargingLabel  = new QLabel(this);
  chargingLabel->setPixmap(QPixmap(":/warning/charging"));
  chargingLabel->setGeometry(47, 25, 22, 18);

  gasUpLabel = new QLabel(this);
  gasUpLabel->setPixmap(QPixmap(":/warning/gas_up"));
  gasUpLabel->setGeometry(107, 25, 17, 17);

  lowBatLabel = new QLabel(this);
  lowBatLabel->setPixmap(QPixmap(":/warning/low_bat"));
  lowBatLabel->setGeometry(79, 25, 19, 17);

  batErrorLabel = new QLabel(this);
  batErrorLabel->setPixmap(QPixmap(":/warning/battery_error"));
  batErrorLabel->setGeometry(131, 25, 22, 15);
}
